import request from '@/utils/request'

// 查询题库选择题列表
export function listQbmsQuestionChoice(query) {
  return request({
    url: '/qbms/qbmsQuestionChoice/list',
    method: 'get',
    params: query
  })
}

// 查询题库选择题详细
export function getQbmsQuestionChoice(id) {
  return request({
    url: '/qbms/qbmsQuestionChoice/' + id,
    method: 'get'
  })
}

// 新增题库选择题
export function addQbmsQuestionChoice(data) {
  return request({
    url: '/qbms/qbmsQuestionChoice',
    method: 'post',
    data: data
  })
}

// 修改题库选择题
export function updateQbmsQuestionChoice(data) {
  return request({
    url: '/qbms/qbmsQuestionChoice',
    method: 'put',
    data: data
  })
}

// 删除题库选择题
export function delQbmsQuestionChoice(id) {
  return request({
    url: '/qbms/qbmsQuestionChoice/' + id,
    method: 'delete'
  })
}
